Skip to content

Update for filtering #314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 17, 2018
Merged

Update for filtering #314

merged 3 commits into from
May 17, 2018

Conversation

zenspider
Copy link
Contributor

@zenspider zenspider commented May 16, 2018

This brings back the post-filtering from flay 2.11 into CCFlay and hooks it up via separate config. It also adds a rewrite layer for javascript and improves javascript's filters to reduce idiomatic false positives.

zenspider added 3 commits May 16, 2018 14:45
This is wired up via a new config option "post_filters".

Post filtering happens BEFORE prune, so they get run before
conservative/liberal pruning happens, which essentially needs be last
to make sense.
Added DEFAULT_POST_FILTERS to remove NUKE pseudo-nodes and Program
nodes.

Added transform_sexp to transform top-level :body node to NUKE.
Wrapped the top level sexp so the whole tree gets processed. This is
probably a bug in CCD and/or flay.
I am completely OK if this doesn't make it in. I'm not sure how to
reduce it more to make it un-gross.
Copy link

@ale7714 ale7714 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested the changes! Looks great.

@ale7714 ale7714 merged commit 74920f5 into master May 17, 2018
@ale7714 ale7714 deleted the update_for_filtering branch May 17, 2018 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants